package DocCangAPI;

public class CodePointAtDemo {
    public static void main(String[] args) {
        String name="Thinking in Java";
        int code=name.codePointAt(2);
        System.out.println(code);

        String a="a";
        String b="b";
        int c=a.compareTo(b);
        System.out.println(c);
    }
}
